package com.dkd.manage.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.dkd.manage.mapper.ZcglDsjZcps3Mapper;
import com.dkd.manage.domain.ZcglDsjZcps3;
import com.dkd.manage.service.IZcglDsjZcps3Service;

/**
 * 数据表三Service业务层处理
 * 
 * @author ITfuck
 * @date 2025-02-15
 */
@Service
public class ZcglDsjZcps3ServiceImpl implements IZcglDsjZcps3Service 
{
    @Autowired
    private ZcglDsjZcps3Mapper zcglDsjZcps3Mapper;

    /**
     * 查询数据表三
     * 
     * @param ND 数据表三主键
     * @return 数据表三
     */
    @Override
    public ZcglDsjZcps3 selectZcglDsjZcps3ByND(Long ND)
    {
        return zcglDsjZcps3Mapper.selectZcglDsjZcps3ByND(ND);
    }

    /**
     * 查询数据表三列表
     * 
     * @param zcglDsjZcps3 数据表三
     * @return 数据表三
     */
    @Override
    public List<ZcglDsjZcps3> selectZcglDsjZcps3List(ZcglDsjZcps3 zcglDsjZcps3)
    {
        return zcglDsjZcps3Mapper.selectZcglDsjZcps3List(zcglDsjZcps3);
    }

    /**
     * 新增数据表三
     * 
     * @param zcglDsjZcps3 数据表三
     * @return 结果
     */
    @Override
    public int insertZcglDsjZcps3(ZcglDsjZcps3 zcglDsjZcps3)
    {
        return zcglDsjZcps3Mapper.insertZcglDsjZcps3(zcglDsjZcps3);
    }

    /**
     * 修改数据表三
     * 
     * @param zcglDsjZcps3 数据表三
     * @return 结果
     */
    @Override
    public int updateZcglDsjZcps3(ZcglDsjZcps3 zcglDsjZcps3)
    {
        return zcglDsjZcps3Mapper.updateZcglDsjZcps3(zcglDsjZcps3);
    }

    /**
     * 批量删除数据表三
     * 
     * @param NDs 需要删除的数据表三主键
     * @return 结果
     */
    @Override
    public int deleteZcglDsjZcps3ByNDs(Long[] NDs)
    {
        return zcglDsjZcps3Mapper.deleteZcglDsjZcps3ByNDs(NDs);
    }

    /**
     * 删除数据表三信息
     * 
     * @param ND 数据表三主键
     * @return 结果
     */
    @Override
    public int deleteZcglDsjZcps3ByND(Long ND)
    {
        return zcglDsjZcps3Mapper.deleteZcglDsjZcps3ByND(ND);
    }
}
